package com.neuedu.grainsapi.service.Impl;

import com.neuedu.grainsapi.mapper.CropTrendMapper;
import com.neuedu.grainsapi.pojo.CropTrend;
import com.neuedu.grainsapi.service.CropTrendService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class CropTrendServiceImpl implements CropTrendService {
    @Autowired
    private CropTrendMapper cropTrendMapper;
    @Override
    public List<CropTrend> queryCropTrend() {
        return cropTrendMapper.queryCropTrend();
    }
}
